package org.xu.upms.server.model;

import com.xu.commons.model.PersistentObject;



/**
 * 权限实体
 * @author xupeijiao
 *
 */
public class Permission extends PersistentObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8478912147359456927L;
	/**
	 * 应用id  属于哪个系统
	 */
	private Integer appId;
	/**
	 * 父id   那个权限下
	 */
	private Integer parentId;
	/**
	 * 权限url
	 */
	private String url;
	/**
	 * 图标
	 */
	private String icon;
	
	private String name;
	
	/** 是否菜单 */
	private Boolean isMenu;
	/** 是否启用 */
	private Boolean isEnable;
	public Integer getAppId() {
		return appId;
	}
	public void setAppId(Integer appId) {
		this.appId = appId;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getIsMenu() {
		return isMenu;
	}
	public void setIsMenu(Boolean isMenu) {
		this.isMenu = isMenu;
	}
	public Boolean getIsEnable() {
		return isEnable;
	}
	public void setIsEnable(Boolean isEnable) {
		this.isEnable = isEnable;
	}
	
}
